package com.TJGD.projectModule.pojo;

import java.io.Serializable;
import java.util.Date;

public class pTask implements Serializable {
    /**
     * 自动编码
     */
    private Long tid;

    /**
     * 任务名称
     */
    private String tname;

    /**
     * 项目关联（1是0否）
     */
    private Integer isrelationProject;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 项目阶段、模块
     */
    private String projectProgress;

    /**
     * 创建者
     */
    private String creater;

    /**
     * 执行者
     */
    private String executor;

    /**
     * 任务工时（单位小时）
     */
    private Float taskWorktime;

    /**
     * 开始时间
     */
    private Date starttime;

    /**
     * 到期时间
     */
    private Date endtime;

    /**
     * 紧急程度 高中低
     */
    private String urgentLevel;

    /**
     * 进度 百分比
     */
    private Float progress;

    /**
     * 任务要求
     */
    private String taskRequire;

    /**
     * 等待接收/进行中/待验收//已结束
     */
    private String taskStatus;

    /**
     * 验收人
     */
    private String checker;

    /**
     * 通过/退回
     */
    private String checkResult;

    private static final long serialVersionUID = 1L;

    public Long getTid() {
        return tid;
    }

    public void setTid(Long tid) {
        this.tid = tid;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname == null ? null : tname.trim();
    }

    public Integer getIsrelationProject() {
        return isrelationProject;
    }

    public void setIsrelationProject(Integer isrelationProject) {
        this.isrelationProject = isrelationProject;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getProjectProgress() {
        return projectProgress;
    }

    public void setProjectProgress(String projectProgress) {
        this.projectProgress = projectProgress == null ? null : projectProgress.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater == null ? null : creater.trim();
    }

    public String getExecutor() {
        return executor;
    }

    public void setExecutor(String executor) {
        this.executor = executor == null ? null : executor.trim();
    }

    public Float getTaskWorktime() {
        return taskWorktime;
    }

    public void setTaskWorktime(Float taskWorktime) {
        this.taskWorktime = taskWorktime;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getUrgentLevel() {
        return urgentLevel;
    }

    public void setUrgentLevel(String urgentLevel) {
        this.urgentLevel = urgentLevel == null ? null : urgentLevel.trim();
    }

    public Float getProgress() {
        return progress;
    }

    public void setProgress(Float progress) {
        this.progress = progress;
    }

    public String getTaskRequire() {
        return taskRequire;
    }

    public void setTaskRequire(String taskRequire) {
        this.taskRequire = taskRequire == null ? null : taskRequire.trim();
    }

    public String getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(String taskStatus) {
        this.taskStatus = taskStatus == null ? null : taskStatus.trim();
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker == null ? null : checker.trim();
    }

    public String getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(String checkResult) {
        this.checkResult = checkResult == null ? null : checkResult.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tid=").append(tid);
        sb.append(", tname=").append(tname);
        sb.append(", isrelationProject=").append(isrelationProject);
        sb.append(", projectName=").append(projectName);
        sb.append(", projectProgress=").append(projectProgress);
        sb.append(", creater=").append(creater);
        sb.append(", executor=").append(executor);
        sb.append(", taskWorktime=").append(taskWorktime);
        sb.append(", starttime=").append(starttime);
        sb.append(", endtime=").append(endtime);
        sb.append(", urgentLevel=").append(urgentLevel);
        sb.append(", progress=").append(progress);
        sb.append(", taskRequire=").append(taskRequire);
        sb.append(", taskStatus=").append(taskStatus);
        sb.append(", checker=").append(checker);
        sb.append(", checkResult=").append(checkResult);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}